package cn.bonoon.kernel.web;

import org.springframework.web.servlet.ModelAndView;

import cn.bonoon.core.ConfigService;
import cn.bonoon.kernel.events.BaseEvent;
import cn.bonoon.kernel.web.handlers.IExecutable;
import cn.bonoon.kernel.web.models.JsonResult;
import cn.bonoon.kernel.web.models.StandardModel;

public interface ITabHandler extends IExecutable{

	JsonResult save(ConfigService configService, BaseEvent event)throws Exception;

	ModelAndView read(ConfigService configService, BaseEvent event, StandardModel model)throws Exception;

}
